home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / mkscsidev.man < prev    next >
Encoding:
Text File  |  1990-01-28  |  4.7 KB  |  135 lines

  1.  
  2.  
  3.  
  4. MKSCSIDEV                 User Commands                 MKSCSIDEV
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      mkscsidev - Create scsi devices.
  12.  
  13. SSYYNNOOPPSSIISS
  14.      mmkkssccssiiddeevv [_o_p_t_i_o_n_s] _d_e_v_i_c_e_N_a_m_e
  15.  
  16. OOPPTTIIOONNSS
  17.      --sseerrvveerr _s_e_r_v_e_r_I_D
  18.                     _S_e_r_v_e_r_I_D is the Sprite ID of the  server  for
  19.                     the  device.   The  default  is to set up the
  20.                     device to use the local host.
  21.  
  22.  
  23.      --hhbbaaTTyyppee _h_b_a_T_y_p_e
  24.                     _H_b_a_T_y_p_e is the  numeric  identifier  for  the
  25.                     type  of  HBA associated with the device. The
  26.                     default is 0. The  following  are  valid  hba
  27.                     types:  SCSI3 = 0; DecStation 3100 = 0; SCSI0
  28.                     = 1; JAGUAR = 2.
  29.  
  30.  
  31.      --ddeevvTTyyppee _d_e_v_i_c_e_T_y_p_e
  32.                     _D_e_v_T_y_p_e is the  numeric  identifier  for  the
  33.                     type  of  device.   The  default  is  4 (SCSI
  34.                     disk).
  35.  
  36.  
  37.      --hhbbaa _h_b_a       _H_b_a is the id of the hba controller that  the
  38.                     scsi  device is connected to.  The default is
  39.                     0.
  40.  
  41.  
  42.      --ttaarrggeett _t_a_r_g_e_t _T_a_r_g_e_t is the scsi target id of the scsi dev-
  43.                     ice.  The default is 0.
  44.  
  45.  
  46.      --lluunn _l_u_n       _L_u_n is the scsi logical unit  number  of  the
  47.                     scsi device.  The default is 0.
  48.  
  49.  
  50.      --ddiisskk          The --ddiisskk option is used to  create  all  the
  51.                     partitions for a scsi disk.  In this case the
  52.                     _d_e_v_i_c_e_N_a_m_e is treated as a prefix, and 8 dev-
  53.                     ices  are  made  by appending the letters 'a'
  54.                     through 'h' to the prefix.
  55.  
  56.  
  57.      --rraawwDDiisskk       The --rraawwDDiisskk option is used to create all the
  58.                     partitions for a raw scsi disk. A raw disk is
  59.                     accessed without referencing the disk  label.
  60.  
  61.  
  62.  
  63. Sprite v.1.0       Printed:  January 27, 1990                   1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MKSCSIDEV                 User Commands                 MKSCSIDEV
  71.  
  72.  
  73.  
  74.                     In  this  case the _d_e_v_i_c_e_N_a_m_e is treated as a
  75.                     prefix, and 8 devices are made  by  appending
  76.                     the letters 'a' through 'h' to the prefix.
  77.  
  78.      --ttaappee          The --ttaappee option is used to create  a  device
  79.                     file for a SCSI tape.
  80.  
  81.      --rraawwSSccssii       The --rraawwSSccssii option is used to create a  dev-
  82.                     ice file for a raw SCSI device.
  83.  
  84.      --ssppeecciiffiicc _v_a_l_u_e
  85.                     4 bits of the device unit number  are  device
  86.                     specific. The --ssppeecciiffiicc option can be used to
  87.                     set those bits.  option.
  88.  
  89.      --hheellpp          Print a summary of the command-line options.
  90.  
  91. _________________________________________________________________
  92.  
  93.  
  94. DDEESSCCRRIIPPTTIIOONN
  95.      MMkkssccssiiddeevv is used to create SCSI devices.   It  is  a  user-
  96.      friendly  front  end  for  the ffssmmaakkeeddeevv program.  The --ddiisskk
  97.      option is probably the most useful. It treats the _d_e_v_i_c_e_N_a_m_e
  98.      as  a  prefix  and creates devices for all partitions of the
  99.      disk.
  100.  
  101. EEXXAAMMPPLLEESS
  102.      mmkkssccssiiddeevv --hhbbaa 22 --ttaarrggeett 11 --ddiisskk //ddeevv//rrssdd2211 creates the dev-
  103.      ices:
  104.      /dev/rsd21a,    /dev/rsd21b,    /dev/rsd21c,    /dev/rsd21d,
  105.      /dev/rsd21e, /dev/rsd21f, /dev/rsd21g, and /dev/rsd21h,
  106.      using the following calls to ffssmmaakkeeddeevv:
  107.      fsmakedev -d 4 -u 2064 /dev/rsd21a
  108.      fsmakedev -d 4 -u 2065 /dev/rsd21b
  109.      fsmakedev -d 4 -u 2066 /dev/rsd21c
  110.      fsmakedev -d 4 -u 2067 /dev/rsd21d
  111.      fsmakedev -d 4 -u 2068 /dev/rsd21e
  112.      fsmakedev -d 4 -u 2069 /dev/rsd21f
  113.      fsmakedev -d 4 -u 2070 /dev/rsd21g
  114.      fsmakedev -d 4 -u 2071 /dev/rsd21h
  115.  
  116.      mmkkssccssiiddeevv --sseerrvveerr 1100 --ddeevvTTyyppee 55 --lluunn 11 --ssppeecciiffiicc 1100 //ddeevv//ffoooo
  117.      produces  the  device  /dev/foo  using the following call to
  118.      ffssmmaakkeeddeevv:
  119.      fsmakedev -s 10 -d 5 -u 138 /dev/foo
  120.  
  121. KKEEYYWWOORRDDSS
  122.      scsi, disk, partitions, fsmakedev, device
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Sprite v.1.0       Printed:  January 27, 1990                   2
  132.  
  133.  
  134.  
  135.